<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user/doLogin" method="post">
    <table>
        <tr>
            <td>账号</td>
            <td>密码</td>
        </tr>
        <tr>
            <td><input type="text" name="account"></td>
            <td><input type="text" name="password"></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit"></td>
        </tr>
    </table>
    <a href="${pageContext.request.contextPath}/user/doLogin?account=zhangsan&password=1234">传值</a>
</form>

</body>
</html>
